/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cis36_gardengame;

/**
 * holds the basic variables for a single space on the game board. Note that 
 * there is no coordinate system, only relative neighboring tiles are referenced
 * @author Jonah
 */
public class Tile {

    public Tile() {
    }

    public int getBugs() {
        return bugs;
    }

    public void setBugs(int bugs) {
        this.bugs = bugs;
    }

    public boolean isCritter() {
        return critter;
    }

    public void setCritter(boolean critter) {
        this.critter = critter;
    }

    public boolean isFlower() {
        return flower;
    }

    public void setFlower(boolean flower) {
        this.flower = flower;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public int[] getNeighbors() {
        return neighbors;
    }

    public void setNeighbors(int[] neighbors) {
        this.neighbors = neighbors;
    }

    public boolean isRock() {
        return rock;
    }

    public void setRock(boolean rock) {
        this.rock = rock;
    }
    private boolean rock, flower, critter;
    private int bugs, index;
    private int[] neighbors = new int[4];
}
